package com.gdut.huayan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdut.huayan.entity.dto.PageQuery;
import com.gdut.huayan.entity.po.Conversion;
import com.gdut.huayan.entity.po.ConversionActivity;
import com.github.pagehelper.PageInfo;

import java.io.UnsupportedEncodingException;

public interface ConversionService extends IService<Conversion> {
    
    PageInfo<Conversion> getByActivityId(Long activityId, Integer status ,PageQuery pageQuery);

    ConversionActivity get() throws UnsupportedEncodingException;

    PageInfo<Conversion> getUserConversion(PageQuery pageQuery, Integer status);

    Conversion selectByNumber(String number);
}
